Skip to content

fix: Generate OpenAPI v3.1.x specification#220

Merged
oSumAtrIX merged 1 commit intodevfrom
fix/openapi-version
Apr 15, 2026
Merged

fix: Generate OpenAPI v3.1.x specification#220
oSumAtrIX merged 1 commit intodevfrom
fix/openapi-version

Conversation

@madkarmaa
Copy link
Copy Markdown
Member

@madkarmaa madkarmaa requested a review from oSumAtrIX March 23, 2026 14:12
@madkarmaa madkarmaa self-assigned this Mar 23, 2026
Copilot AI review requested due to automatic review settings March 23, 2026 14:12
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the OpenAPI document route to use the OpenAPI v3.1-specific handler from @hono/zod-openapi, aligning runtime behavior with the already-declared openapi: '3.1.0' document version.

Changes:

  • Switches the OpenAPI route registration from _app.doc(...) to _app.doc31(...) for the /v{apiVersion}/openapi endpoint.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Member

@PalmDevs PalmDevs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread src/index.ts
@oSumAtrIX oSumAtrIX changed the title fix: use correct OpenAPI v3.1.x document fix: Generate OpenAPI v3.1.x specification Apr 15, 2026
@oSumAtrIX oSumAtrIX merged commit 2576077 into dev Apr 15, 2026
4 checks passed
@oSumAtrIX oSumAtrIX deleted the fix/openapi-version branch April 15, 2026 08:22
github-actions bot pushed a commit that referenced this pull request Apr 15, 2026
## [1.8.1-dev.1](v1.8.0...v1.8.1-dev.1) (2026-04-15)

### Bug Fixes

* Generate OpenAPI v3.1.x specification ([#220](#220)) ([2576077](2576077))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants